import request from '@/utils/request';

export async function fetchSwaggerConfig() {
  return request('/api/swagger');
}
export async function updateSwaggerConfig(params) {
  return request('/api/swagger', {
    method: 'PUT',
    data: params,
  });
}
